//轮播图区域相关数据类型
export interface SwiperElement {
  "image_src" : string,
  "open_type" : string,
  "goods_id" : number,
  "navigator_url" : string
}

export interface SwiperHandledResult {
  message : SwiperElement[]
  meta : {
    "msg" : string,
    "status" : number
  }
}

export interface SwiperRawResult {
  data : SwiperHandledResult
}

export type getSwiperFn = () => Promise<SwiperRawResult>

//商品分类导航栏区域相关数据类型
export interface NavElement {
  "name" : string,
  "image_src" : string,
  "open_type" : string,
  "navigator_url" : string
}

//楼层区域相关数据类型
export interface FloorElement {
  floor_title : {
    "name" : string,
    "image_src" : string
  },
  product_list : ProductListElement[]
}

export interface ProductListElement {
  "name" : string,
  "image_src" : string,
  "image_width" : string,
  "open_type" : string,
  "navigator_url" : string
}